const path = require('path')
// import path from 'path'

function reslove (dir) {
  return path.join(__dirname, dir)
}

module.exports = {
  lintOnSave: false,
  publicPath: './',
  chainWebpack: (config) => {
    config.resolve.alias.set('@', reslove('./src')).set('assets', reslove('./src/assets'))
  }
}
